

#include <stdlib.h>

#include "log.h"

#include "transfer_complete.h"

struct evcpe_transfer_complete *evcpe_transfer_complete_new(void)
{
	struct evcpe_transfer_complete *method;

	evcpe_debug(__func__, "constructing evcpe_transfer_complete");

	if (!(method = calloc(1, sizeof(struct evcpe_transfer_complete)))) {
		evcpe_error(__func__, "failed to calloc evcpe_transfer_complete");
		return NULL;
	}
	return method;
}

void evcpe_transfer_complete_free(struct evcpe_transfer_complete *method)
{
	if (!method) return;
	evcpe_debug(__func__, "destructing evcpe_transfer_complete");
	free(method);
}

struct evcpe_transfer_complete_response *evcpe_transfer_complete_response_new(void)
{
	struct evcpe_transfer_complete_response *method;

	evcpe_debug(__func__, "constructing evcpe_transfer_complete_response");

	if (!(method = calloc(1, sizeof(struct evcpe_transfer_complete_response)))) {
		evcpe_error(__func__, "failed to calloc evcpe_add_obejct_response");
		return NULL;
	}
	return method;
}

void evcpe_transfer_complete_response_free(struct evcpe_transfer_complete_response *method)
{
	if (!method) return;
	evcpe_debug(__func__, "destructing evcpe_transfer_complete_response");
	free(method);
}

